package com.xy.novelmanagement.mapper;

import com.xy.model.CommentRules;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CommentRuleManagementMapper {
		boolean addRule(String ruleName, String ruleList);

		List<CommentRules> getAllRules();

		CommentRules getRulesByName(String ruleName);

		void deleteRules(List<String> delList);

		Boolean update(String newName, String oldName, String ruleList);
}
